<%-- 
    Document   : login
    Created on : 2014/2/24, 上午 11:28:35
    Author     : Gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
        session.removeAttribute("user");
    %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <script>
            function rand()
            {
                
                document.getElementById("image").src="image.jsp?ts="+new Date().getTime();
                
            }
        </script>
        <form action="logincheck.jsp" method="post">
            帳號<input type="text" name="user"> <br>
            密碼<input type="text" name="paseword"> <br>
            驗證<input type="text" name="kk"> <br>
            <img id="image" src="image.jsp"><input type="button" onclick="rand()" value="更換驗證碼"><br>
            <input type="submit" value="登入">
        </form>
        <form action="daocy.jsp">
         <input type="submit" value="回目錄">
         <input type="hidden"  name="pag" value="1">
     </form>
            
    </body>
</html>
